Platform Explorer / Nuxeo Platform 6.0

Extension point errorhandlers

Documentation

Define a set key/exception to be used to output error message

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.web.common.exceptionhandling.descriptor.ErrorHandlersDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-web-common-6.0.jar
    <extension point="errorhandlers" target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService">
        <errorHandlers bundle="messages" defaultpage="/nuxeo_error.jsp" loggerName="nuxeo-error-log">
          <handlers>
            <handler code="404" error=".*NoSuchDocumentException" message="Error.Document.Not.Found"/>
            <handler error=".*SecurityException" message="Error.Insuffisant.Rights" page="/nuxeo_error_security.jsp"/>
            <handler error=".*" message="Error.Unknown"/>
          </handlers>
        </errorHandlers>
      </extension>